package com.project.modules.redEnvelope.model;

import com.baomidou.mybatisplus.annotation.TableName;
import com.project.common.api.BaseModel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
 * Model
 *
 * @author Qing2514
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@TableName("tbl_record")
@ApiModel(value = "红包记录", description = "TblRecord")
public class TblRecord extends BaseModel {


    @ApiModelProperty("收到红包的用户id")
    private Long receviceUserId;

    @ApiModelProperty("红包id")
    private Long redId;

    @ApiModelProperty("点击得分")
    private Integer score;

    @ApiModelProperty("用户抢到的金额")
    private BigDecimal receiveAmount;

}
